package cn.wolfcode.luowowo.comment.repository;

import cn.wolfcode.luowowo.comment.domain.UserInfoAttention;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface UserInfoAttentionRepository extends MongoRepository<UserInfoAttention, String> {
    List<UserInfoAttention> findAllByUserId(Long uid);
    List<UserInfoAttention> findAllByBeUserId(Long uid);


}
